Conformance Testing of Boolean Programs with Multiple Faults
نویسندگان
چکیده
Conformance testing is the problem of constructing a complete test suite of inputs based on a specification S such that any implementation I (of size less than a given bound) that is not equivalent to S gives a different output on the test suite than S. Typically I and S are assumed to be some type of finite automata. In this paper we consider the problem of constructing test suites for boolean programs (or more precisely modular visibly pushdown automata) that are guaranteed to catch all erroneous implementations that have at least R faults, and pass all correct implementations; if the incorrect implementation has fewer than R faults then the test suite may or may not detect it. We present a randomized algorithm for the construction of such test suites, and prove the near optimality of our test suites by proving lower bounds on the size of test suites.
منابع مشابه
Minimization, Learning, and Conformance Testing of Boolean Programs
Boolean programs with recursion are convenient abstractions of sequential imperative programs, and can be represented as recursive state machines (RSMs) or pushdown automata. Motivated by the special structure of RSMs, we define a notion of modular visibly pushdown automata (modular VPA) and show that for the class of languages accepted by such automata, unique minimal modular VPA exist. This y...
متن کاملA GA-based approach for test generation for automata-based programs
Automata-based approach is often used for developing complex systems. Model Checking is commonly used to check conformance of the system against its specification. However, verification techniques don’t allow checking the system in whole, as system consists of not only the model, but also control objects, which are not suitable for model checking. In this paper we propose an approach for testin...
متن کاملA DFSM-Based Protocol Conformance Testing and Diagnosing Method
In the protocol conformance testing, many existing test methods can effectively detect the possible faults of the implementation under test. However, it is difficult to diagnose the found faults in terms of the test results. This paper presents a diagnosable input/output (DIO) sequence, to differentiate a state from other states under a given condition. We further propose a two-tier protocol co...
متن کاملA Message Viewing System for a Multi Tool Software Conformance Testing Environment
The introduction of open standards in telecommunications has resulted in a rapid expansion in services by allowing different vendors to produce equipment that can interwork successfully. However to ensure that a product adheres to an open systems specification a series of tests, called conformance tests, must be performed. Faults occurring at this stage are expensive to correct and therefore te...
متن کاملTest Case Prioritization Using Fuzzy Logic Based on Requirement Prioritizing
Boolean expressions are popularly used for modelling decisions or conditions in specifications or source programs and they are very much prone to introduction of faults. Even for a Boolean expression with few numbers of literals the possible number of test cases can be quite large. Boolean expressions with n variables require 2 n test cases to distinguish from faulty expression. In practice, n ...
متن کامل